package com.cskaoyan.service;

import com.cskaoyan.bean.CskaoyanmallUser;
import com.cskaoyan.bean.bo.WxAuthRegisterBo;
import com.cskaoyan.bean.bo.WxAuthResetBo;

import javax.servlet.http.HttpServletRequest;

public interface WXAuthService {
//    public BaseRespVo WXAuthLogin(WXAuthLoginBO wxAuthLoginBO);


    CskaoyanmallUser selectUserByName(String username);

    void updateUser(CskaoyanmallUser user);

    int insertUser(WxAuthRegisterBo bo, HttpServletRequest req);

    int updatePassword(WxAuthResetBo bo);

    String selectUsernameByMobile(String mobile);
}
